package com.qm.console.dao.model;

import lombok.Data;

@Data
public class CommentAuditDOWithBLOBs extends CommentAuditDO {
    private String avatar;

    private String comment;

    private String subCommentList;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getSubCommentList() {
        return subCommentList;
    }

    public void setSubCommentList(String subCommentList) {
        this.subCommentList = subCommentList == null ? null : subCommentList.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", avatar=").append(avatar);
        sb.append(", comment=").append(comment);
        sb.append(", subCommentList=").append(subCommentList);
        sb.append("]");
        return sb.toString();
    }
}
